export const mobilePattern = /^1[3-9]\d{9}$/;

export const phonePattern = /^0\d{2,3}-\d{7,8}$|^0\d{2,3}-\d{7,8}-\d{1,4}$/;

export const emailPattern = /^([A-Za-z0-9_\-.\u4e00-\u9fa5])+@([A-Za-z0-9_\-.])+.([A-Za-z]{2,8})$/;

export const websitePattern = /^http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-./?%&=]*)?$/;

export const usernamePattern = /^[A-Za-z][A-Za-z\d_-]{0,14}[A-Za-z\d]{1}$/;

export const passwordPattern = /(?=.*[0-9])(?=.*[a-zA-Z!@_#$%^&*()\-+=,.?]).{6,16}$/;

export const codePattern = /^[A-Z][A-Z\d_-]{0,14}[A-Z\d]{1}$/;
